package app.socket.client;

public class TestRunnable implements Runnable {

	public void run() {
		System.out.println("1 - run start.");

		for (int i = 1; i < 1000000000; i++) {

		}
		System.out.println("2 - run end.");
	}

	public static void main(String[] args) {
		TestRunnable a = new TestRunnable();
		a.run();
		System.out.println("0 - 开始。");
		try {
			Thread.sleep(2000);
		} catch (InterruptedException e) {
			e.printStackTrace();
		}
		System.out.println("3 - 结束。");
	}

	
	
}
